package core.config;

/**
 * Factory実装クラス
 *
 * @author Tadashi Nakayama
 * @version 1.0.0
 */
public final class FactoryImpl extends Factory {

	/**
	 * @see core.config.Factory#getClassInstance(java.lang.Class)
	 */
	@Override
	protected <T> T getClassInstance(final Class<T> cls) {
		T obj = Factory.acquire(cls);
		if (obj == null) {
			obj = Factory.getInstance(cls);
		}
		return obj;
	}
}
